import {post,fetch} from "../http"

export function search(key){
    return fetch(`${process.env.VUE_APP_SECBHOST}/search`,{
        action:"search",
        key
    })
}
export function getHot(key){
    return fetch(`${process.env.VUE_APP_COMHOST}/?s=accuPoint&f=getHotSec&req=GetHotSecReq&rsp=GetHotSecRsp`,{
        stUserInfo:{
            vGUID:[],
            sDUA:"",
            iAccountId:95049,
        },
        
    })
}

export function getScoreDetail(vtDtSecCode){
    return post(`${process.env.VUE_APP_SECBHOST}/GetConsultStock?action=getScoreDetail`,{
        vtDtSecCode
    })
}